package gr.unipi.cinema;

import java.util.Calendar;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class ShowData {
	private int id;
	private Calendar showTime;
	private int movieId;
	private String movieName;
	private String movieLogoUrl;
	private int theaterId;
	private String theaterName;
	private double price;
	private String hallName;
	private int colCount;
	private int rowCount;
	private int seatRes;
	
	public ShowData() {
		this.id = 0;
		this.showTime = Calendar.getInstance();
		this.movieName = "";
		this.movieLogoUrl = "";
		this.theaterName = "";
		this.price = 0.0;
		this.movieId = 0;
		this.theaterId = 0;
		this.seatRes = 0;
		this.colCount = 0;
		this.rowCount = 0;
	}

	public ShowData(int id, Calendar showTime, int movieId, String movieName,
			String movieLogoUrl, int theaterId, String theaterName,
			double price, String hallName, int colCount, int rowCount,
			int seatRes) {
		super();
		this.id = id;
		this.showTime = showTime;
		this.movieId = movieId;
		this.movieName = movieName;
		this.movieLogoUrl = movieLogoUrl;
		this.theaterId = theaterId;
		this.theaterName = theaterName;
		this.price = price;
		this.hallName = hallName;
		this.colCount = colCount;
		this.rowCount = rowCount;
		this.seatRes = seatRes;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Calendar getShowTime() {
		return showTime;
	}

	public void setShowTime(Calendar showTime) {
		this.showTime = showTime;
	}

	public String getMovieName() {
		return movieName;
	}

	public void setMovieName(String movieName) {
		this.movieName = movieName;
	}

	public String getMovieLogoUrl() {
		return movieLogoUrl;
	}

	public void setMovieLogoUrl(String movieLogoUrl) {
		this.movieLogoUrl = movieLogoUrl;
	}

	public String getTheaterName() {
		return theaterName;
	}

	public void setTheaterName(String theaterName) {
		this.theaterName = theaterName;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public int getMovieId() {
		return movieId;
	}

	public void setMovieId(int movieId) {
		this.movieId = movieId;
	}

	public int getTheaterId() {
		return theaterId;
	}

	public void setTheaterId(int theaterId) {
		this.theaterId = theaterId;
	}

	public String getHallName() {
		return hallName;
	}

	public void setHallName(String hallName) {
		this.hallName = hallName;
	}

	public int getSeatRes() {
		return seatRes;
	}

	public void setSeatRes(int seatRes) {
		this.seatRes = seatRes;
	}

	public int getColCount() {
		return colCount;
	}

	public void setColCount(int colCount) {
		this.colCount = colCount;
	}

	public int getRowCount() {
		return rowCount;
	}

	public void setRowCount(int rowCount) {
		this.rowCount = rowCount;
	}
}
